<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
	<title>添加权限</title>
</head>

<body>
	<form action="${ctx}/account/user/addFunction" method="post">
		<input type="hidden" name="staffId" value="${staffId}"/>
		<c:forEach items="${functionList}" var="item">
			<fieldset>
				<input type="checkbox" name="selectedFunctionIds" value="${item.id}" />${item.url}
			</fieldset>
		</c:forEach>
		
			<input class="button" type="submit" value="提交"/>&nbsp;	
	</form>
</body>
</html>
